<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\command;

interface DailyStatWork
{
    /**
     * 设置tag值.
     * @param null|mixed $tag
     */
    public function setTag($tag = null): bool;

    /**
     * 获取tag值
     */
    public function getTag();

    /**
     * 获取crontab_tag模型.
     */
    public function getCrontabTaskInfo();

    /**
     * 获取脚本名.
     */
    public function getCommandName();
}
